var runtime.levelShift
7 uses
runtime (current package)
mpagealloc.go#L144: return int((addr.a - arenaBaseOffset) >> levelShift[level])
mpagealloc.go#L150: return offAddr{(uintptr(idx) << levelShift[level]) + arenaBaseOffset}
mpagealloc.go#L167: lo = int((base - arenaBaseOffset) >> levelShift[level])
mpagealloc.go#L168: hi = int(((limit-1)-arenaBaseOffset)>>levelShift[level]) + 1
mpagealloc.go#L827: print("runtime: levelShift[level] = ", levelShift[l], ", levelBits[level] = ", levelBits[l], "\n")
mpagealloc_64bit.go#L48: var levelShift = [summaryLevels]uint{
mpagealloc_64bit.go#L74: for l, shift := range levelShift {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |